package com.campusbackend.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

/**
 * 用户搜索请求VO
 * 
 * @author yezi
 * @since 2025-07-27
 */
@Data
@Schema(name = "UserSearchRequestVO", description = "用户搜索请求对象")
public class UserSearchRequestVO {
    
    @Schema(description = "搜索关键词（姓名或学号/工号）", required = true)
    @NotBlank(message = "搜索关键词不能为空")
    private String keyword;
    
    @Schema(description = "用户类型：1-教师，2-学生，不传则搜索全部", required = false)
    private Integer userType;
}
